package caozuoxitong;

public class PCB {
    int id;
    int priority;
    int cpuTime;
    int allTime;
    int remainTime;
    int finishTime;
    String state;

    public PCB(int id, int priority, int allTime) {
        this.id = id;
        this.priority = priority;
        this.cpuTime = 0;
        this.allTime = allTime;
        this.remainTime = allTime;
        this.finishTime = 0;
        this.state = "就绪";
    }
}
